package com.mz.ozy.mvp.view;

import android.app.Activity;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.BalanceDetailBean;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class ExchangeContract {
    public interface View extends BaseView {
        void getExchangeInfoSuccess(BalanceDetailBean bean);

        void onExchangeSuccess(Object o);
        void onKtSuccess(BalanceDetailBean o);
        void onComitKtSuccess(Object o);
        void onXgKtSuccess(BalanceDetailBean o);
        void onXgComitSuccess(Object o);
    }

    public interface Presenter extends BasePresenter<View> {
        void getExchangeInfo(Activity activity);
        void getXgExchangeInfo(Activity activity);
        void getKtInfo(Activity activity,String amount);

        void onExchange(Activity activity, String amount, String coin, String password);

        void onComitExchange(Activity activity,  String type,String amount, String password);
        void onExchange(Activity activity, String amount, String password);
        void onXqExchange(Activity activity, String amount, String password);
    }


}
